<?php

namespace App\Service;


class NumberService
{

    public static function order()
    {
        return date("Ymd") . mt_rand(10001, 99999) . substr(time(), -5);
    }


    public static function userInvite($mobile)
    {
        return substr(md5($mobile . time()), 0, 7);
    }

}